From: Sam Reed Date: Fri, 10 Feb 2012 14:39:12 +0000 (+0000) Subject: * (bug 34313) MediaWiki API intro message about "HTML format" should mention the... X-Git-Tag: 1.31.0-rc.0~24799 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=88c6d7b9a16bcd17a20363b623f86a04e7147737;p=lhc%2Fweb%2Fwiklou.git * (bug 34313) MediaWiki API intro message about "HTML format" should mention the format parameter. --- diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index 9150fad437..4d85e88fd8 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -25,6 +25,8 @@ production. === API changes in 1.20 === * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API. +* (bug 34313) MediaWiki API intro message about "HTML format" should mention + the format parameter. === Languages updated in 1.20 === diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 543c90ce08..57c641df56 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -163,8 +163,10 @@ abstract class ApiFormatBase extends ApiBase {
You are looking at the HTML representation of the mFormat ); ?> format.
-HTML is good for debugging, but probably is not suitable for your application.
-See complete documentation, or +HTML is good for debugging, but is unsuitable for application use.
+Specify the format parameter to change the output format.
+To see the non HTML representation of the mFormat ); ?> format, set format=mFormat ); ?>.
+See the complete documentation, or API help for more information.